#pragma once
#include "hHuffmanDefine.h"

struct Huffman
{
	static void code(hBitStr& outData, const void* dt, size_t len);
	template <typename T>
	static void decode(T& outData, const hBitStr& dt) {}
	template <>
	static void decode<std::string>(std::string& outData, const hBitStr& dt);
};